<template >
    <input type="text" :value = "modelValue" @input="inputHandler"/>
    <!-- <input
    type="text"
    :value="modelValue"
    @input="$emit('update:modelValue', $event.target.value)"
  /> -->
</template>
<script>
export default {
    props:["modelValue"],
    methods: {
        inputHandler(e){
            this.$emit("update:modelValue",e.target.value);
        }
    }
};
</script>